//
//  pvm_opcode.h
//  parser
//
//  Created by Pei Liu on 10/25/11.
//  Copyright 2011 __FOR CS440 COMPILER__. All rights reserved.
//
// define the opcode 
//

#ifndef parser_pvm_opcode_h
#define parser_pvm_opcode_h

#define _mov_  1
#define _mvi_  2
#define _mif_  3
#define _mit_  4
#define _lri_  5
#define _ldr_  6
#define _str_  7
#define _mvr_  8
#define _add_  9
#define _addri_  10
#define _sub_  11
#define _mul_  12
#define _div_  13
#define _or_  14
#define _and_  15
#define _not_  16
#define _b_  17
#define _beq_  18
#define _bne_  19
#define _bgt_  20
#define _bge_  21
#define _blt_  22
#define _ble_  23
#define _pushd_  24
#define _pushr_  25
#define _pushi_  26
#define _popd_  27
#define _popr_  28
#define _puti_  29
#define _puts_  30
#define _line_  31
#define _geti_  32
#define _gets_  33
#define _call_  34
#define _ret_  35
#define _stop_  36

#endif
